﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Backend.JYD.Model.Task;
using Backend.JYD.Model;
using Backend.JYD.Model.Cust;

namespace Backend.JYD.IDAL.Task
{
    public interface IIntentEntryInfo
    {
        Int64 AddIntentEntryInfo(IntentEntryInfo info);

        bool UpdateIntentEntryInfo(IntentEntryInfo info);

        IList<IntentEntryInfo> GetIntentEntryInfoByEmpId(Int64 empId);

        IList<IntentEntryInfo> GetIntentEntryInfoByTaskIds(IList<Int64> taskIds);

        IntentEntryInfo GetIntentEntryInfoByIntentId(Int64 intenId);

        PageInfo<IntentEntryInfo> GetIntentEntryInfoByPage(Int64? empId, DateTime? start, DateTime? end, int status, PageInfo page);

        PageInfo<CustBase> SearchCustBaseInfo(PageInfo page, string name, string phone, int? chanel);
    }
}
